<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<head>
</head>
<body   style="height:92%">
  <form style="background-color: #cafab3; font-family:arial; padding:5px 0 30px 0; height:100%" method="POST" action="saveUser.do" >
    <h1 style="color:darkgreen; text-align:left; margin:0;  padding:5px 0 30px 0; margin-left:35%">Edit user's data</h1>
   <input type="hidden" name ="command" value="saveNewUser"></input>
    
    <div class="sidebar-left"> e-mail </div>
    <div class="sidebar-right">  <input class = "input" type="text"     name="email" ></div>
    <div class="clear"></div>
    
    <div class="sidebar-left"> Password</div>
    <div class="sidebar-right"><input class = "input" type="password" name="password" /></div>
    <div class="clear"></div>
    
    <div class="sidebar-left">Name  </div>
    <div class="sidebar-right"> <input class = "input" type="text"     name="name" />  </div>
    <div class="clear"></div>
    
    <div class="sidebar-left"> Birth date (in ms)</div>
    <div class="sidebar-right"><input class = "input" type="text"     name="birthDate" /></div>
    <div class="clear"></div>
    
    <div class="sidebar-left">Card Code  </div>
    <div class="sidebar-right"> <input class = "input" type="text"     name="cardCode" /></div>
    <div class="clear"></div>
    
    <div class="sidebar-left">Degree  </div>
    <div class="sidebar-right"> <input class = "input" type="text"     name="degree" /></div>
    <div class="clear"></div>

    <div class="sidebar-right">  <button type="submit">Save</button></div>
    <div class="clear"></div>
    
    
   </form>
   <form style="background-color: #cafab3; font-family:arial; padding:5px 0 30px 0; height:100%" method="POST" action="home.do" >
    <input type="hidden" name ="command" value="home"></input>
    <div class="sidebar-right">
     <button type="submit">Home</button>
    </div>
   </form>
  </body>
</html>

<style type="text/css">
  .right{
    text-align:right; 
  
  }
  .sidebar-left{
    width: 40%; 
    color:darkgreen;
    text-align:right; 
    float:left;
    line-height:1.65em; 
    font-size:16px;  
  }

  .sidebar-right{
    width: 59%; 
    color:darkgreen;
    float:right;
    text-align:left; 
  }
   
  .clear{
    clear:both;
  }

    
  .input{
    margin:2px;
    }
</style>